package com.seepic;

import android.os.Bundle;

import com.bumptech.glide.Glide;
import com.github.chrisbanes.photoview.PhotoView;
import com.myatest.R;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

/**
 * User: psn
 * Date: 2021/11/2
 */
public class SeepicActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable @org.jetbrains.annotations.Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.act_seepic);
        PhotoView imageView = findViewById(R.id.big_pic);
        Glide.with(this)
                .load("https://img-blog.csdnimg.cn/20201127124807714.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQyNjA5NjEz,size_16,color_FFFFFF,t_70")
                .into(imageView);
        imageView.setZoomable(true);
    }
}
